import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';
import { t } from '@/hooks/web/useI18n';

const assess: AppRouteModule = {
  path: '/assess',
  name: 'Assess',
  component: LAYOUT,
  redirect: '/assess/assessFiles',
  meta: {
    orderNo: 1,
    icon: 'material-symbols:clinical-notes-outline',
    title: t('routes.demo.assess.assess'),
  },
  children: [
    {
      path: 'assessFiles',
      name: 'AssessFiles',
      meta: {
        title: t('routes.demo.assess.assessFiles'),
      },
      component: () => import('@/views/demo/assess/assessFiles/index.vue'),
    },
    {
      path: 'assessEvaluate',
      name: 'AssessEvaluate',
      meta: {
        title: t('routes.demo.assess.assessEvaluate'),
      },
      component: () => import('@/views/demo/assess/assessEvaluate/index.vue'),
    },
    {
      path: 'assessVideo',
      name: 'AssessVideo',
      meta: {
        title: t('routes.demo.assess.assessVideo'),
      },
      component: () => import('@/views/demo/assess/assessVideo/index.vue'),
    },
  ],
};

export default assess;
